import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;


public class JvmTest {
	public static void main(String args[]){
		try {
			FileInputStream fileInputStream=new FileInputStream(new File("Object.class"));
			byte[] b=new byte[1024];
			int i=fileInputStream.read(b);
			while(i!=-1){
				String s=new String(b);
				System.out.println(s+i);
				i=fileInputStream.read(b);
			}
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
